<?php // @version $Id: default.php 11917 2009-05-29 19:37:05Z ian $
defined('_JEXEC') or die('Restricted access');

$template_dir = $this->baseurl.'/templates/mwc_careitec/assets/';
?>
<script src="<?php echo $template_dir; ?>scripts/jScroll_1.js" type="text/javascript" ></script>
<script src="<?php echo $template_dir; ?>scripts/jScroll_2.js" type="text/javascript" ></script>
<script language="javascript">
    jQuery(document).ready(function(){
        jQuery('#pane').jScrollPane({scrollbarWidth: 20});
    });
</script>

<?php
if($_SERVER['HTTP_REFERER'] != ''){
    $referer = $_SERVER['HTTP_REFERER'];    
}   
else{
    $referer = 'javascript:history.go(-1);';
} 
?>

<div id="main" class="p15t">
	<div class="b_bg_tt_sub2">
        <h2 class="p5t float_left"><?php echo $this->article->title; ?></h2>
        <p class="float_right p5t"><a href="<?php echo $referer; ?>"><img src="<?php echo $template_dir; ?>images/tilbage_icon.png" alt="" /> Tilbage</a></p>
        <br style="clear:both" />
	</div>	
	<div class="b_bg_top_tt">
		<h2><b><?php echo $this->escape($this->article->title); ?></b></h2>
	    <?php echo JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC1')); ?> 
	    <?php //echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')); ?>
	</div>
	
	<div class="osX">
    	<div class="scroll-pane" id="pane">
    		<p>
    			<img src="<?php echo $this->article->article_image; ?>" alt="<?php echo $this->escape($this->article->title); ?>" class="float_left m10r m10b"/>    			
    		</p>
    		<?php if (!$this->params->get('show_intro')) :
				echo $this->article->event->afterDisplayTitle;
			endif; ?>
	
			<?php echo $this->article->event->beforeDisplayContent; ?>
			<?php echo JFilterOutput::ampReplace($this->article->text); ?>
			<?php echo $this->article->event->afterDisplayContent; ?>
    	</div>
    </div>
</div>

<div id="footer" class="bg_foot_sub">
    <div class="w950 mc p15b">
    	<p class="float_left">Copyright © <?php echo date('Y'); ?> <a href="index.html">CAREITEC.DK</a>. All rights reserved.</p>
        <p class="float_right">Design by <a href="mywebcreations.dk" target="_blank">My Web Creations</a></p>
        <br style="clear:both" />
	</div>
</div>
